package shayu.order.feign;

import com.alipay.api.AlipayApiException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import shayu.order.vo.PayVo;

@FeignClient("shop-third")
public interface ThridFeign {

    @GetMapping(value = "/pay", consumes = "application/json")
    String pay(@RequestBody PayVo vo) throws AlipayApiException;
}
